package lagou.homework.lagou_homework_rocketmq.service;

import lagou.homework.lagou_homework_rocketmq.entity.Order;
import org.springframework.transaction.annotation.Transactional;

public interface OrderService {
    @Transactional
    String payOrder(String orderNo,String seckillId);

    @Transactional
    void rollback(Order order,String seckillId);
}
